Telegram Group & Telegram Channel
یکی از دوستان توی گروه بحث آزاد یک ویدئو در مورد GIL گذاشت و من یاد این موضوع افتادم که از نسخه Python 3.13 شما می‌تونید یک build تقریبا stable (البته نه برای پروداکشن) روی برنچ nogil داشته باشید برای Cpython
GitHub Link

که خب اگر به اندازه کافی طرفدار و کامیونیتی داشته باشه؛ pre-build منتشر خواهد شد و در دراز مدت بعنوان نسخه دیفالت پایتون منتشر خواهد شد.

این موضوع اهمیت بسیار؛ بسیار بالایی داره برای بهینه سازی پایتون و براحتی می‌تونه کدهای multi-thread رو چندین برابر سریعتر کنه

Python multithreading without GIL
PEP 703 - Making the GIL Optional in CPython
👍32👌21👏1😈1



tg-me.com/pyHints/561
Create:
Last Update:

یکی از دوستان توی گروه بحث آزاد یک ویدئو در مورد GIL گذاشت و من یاد این موضوع افتادم که از نسخه Python 3.13 شما می‌تونید یک build تقریبا stable (البته نه برای پروداکشن) روی برنچ nogil داشته باشید برای Cpython
GitHub Link

که خب اگر به اندازه کافی طرفدار و کامیونیتی داشته باشه؛ pre-build منتشر خواهد شد و در دراز مدت بعنوان نسخه دیفالت پایتون منتشر خواهد شد.

این موضوع اهمیت بسیار؛ بسیار بالایی داره برای بهینه سازی پایتون و براحتی می‌تونه کدهای multi-thread رو چندین برابر سریعتر کنه

Python multithreading without GIL
PEP 703 - Making the GIL Optional in CPython

BY Python Hints




Share with your friend now:
tg-me.com/pyHints/561

View MORE
Open in Telegram


Python Hints Telegram | DID YOU KNOW?

Date: |

The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.

Importantly, that investor viewpoint is not new. It cycles in when conditions are right (and vice versa). It also brings the ineffective warnings of an overpriced market with it.Looking toward a good 2022 stock market, there is no apparent reason to expect these issues to change.

Python Hints from id


Telegram Python Hints
FROM USA